package com.guet.niit.Login.pojo;

import javafx.beans.property.LongProperty;
import javafx.beans.property.StringProperty;

public class AgentData {
    private LongProperty agentId;
    private StringProperty agentName;
    private StringProperty password;

    public long getAgentId() {
        return agentId.get();
    }

    public LongProperty agentIdProperty() {
        return agentId;
    }

    public void setAgentId(long agentId) {
        this.agentId.set(agentId);
    }

    public String getAgentName() {
        return agentName.get();
    }

    public StringProperty agentNameProperty() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName.set(agentName);
    }

    public String getPassword() {
        return password.get();
    }

    public StringProperty passwordProperty() {
        return password;
    }

    public void setPassword(String password) {
        this.password.set(password);
    }

    public AgentData(LongProperty agentId, StringProperty agentName, StringProperty password) {
        this.agentId = agentId;
        this.agentName = agentName;
        this.password = password;
    }

    public AgentData() {
    }

    @Override
    public String toString() {
        return "AgentData{" +
                "agentId=" + agentId +
                ", agentName=" + agentName +
                ", password=" + password +
                '}';
    }
}
